<#assign classNameLower = ClassName ? uncap_first>
package ${pPackage}.mapper;

import ${pPackage}.pojo.${ClassName};
import tk.mybatis.mapper.common.Mapper;

public interface ${ClassName}Mapper extends Mapper<${ClassName}> {
    /**
     * 加锁(乐观锁)
     *
     * @param ${classNameLower}
     * @return
     */
    int updateByPrimaryKeyAndVersion(${ClassName} ${classNameLower});
}
